Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 139 for call_op (0.24 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/stateful-attribute.pbtxt

    # RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -o - | FileCheck %s
    
    node {
      name: "Call_foo"
      op: "PartitionedCall"
      attr {
        key: "Tin"
        value {
          list {
          }
        }
      }
      attr {
        key: "Tout"
        value {
          list {
            type: DT_INT32
          }
        }
      }
      attr {
        key: "f"
        value {
          func {
            name: "foo"
          }
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 11 19:14:04 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/isolate-placer.mlir

        tf_executor.fetch
      }
      func.return
    }
    
    func.func @foo(%arg0: tensor<!tf_type.resource>) -> tensor<!tf_type.resource> {
      %graph = tf_executor.graph {
        tf_executor.fetch %arg0 : tensor<!tf_type.resource>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.cc

                           bool would_be_cloned,
                           mlir::IRMapping &mapping) const final {
        // All tf_mlrt dialect ops can be inlined.
        return true;
      }
      // Note that CallOp and ReturnOp are handled by func; so need to implement
      // handleTerminator.
    };
    
    }  // namespace
    
    TensorflowMlrtDialect::TensorflowMlrtDialect(mlir::MLIRContext *context)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. tests/integration/security/egress_gateway_origination_test.go

    					newTLSGatewayTest(t).
    						Run(func(t framework.TestContext, from echo.Instance, to echo.Target) {
    							callOpt := newTLSGatewayCallOpts(to, host, tc.statusCode, tc.useGateway)
    							from.CallOrFail(t, callOpt)
    						})
    				})
    			}
    		})
    }
    
    // TestMutualTlsOrigination test MUTUAL TLS mode with TLS origination happening at Gateway proxy
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_tf_xla_call_module_to_stablehlo_pass.cc

          parent_module_symbol_table.insert(cloned_func_op);
        }
    
        // When the `XlaCallModuleOp`'s callee accepts a platform index argument,
        // remove it. This is because when converted to `CallOp` there will be a
        // mismatch btw. the number of arguments passed and number of parameters
        // accepted (the platform index argument is an extra argument that is not
        // expressed by the operands of XlaCallModuleOp).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 25 09:43:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

        // the op using the builder.
        CPred<"ArgTypesMatchCallee(&*$_builder.getInsertionPoint(), $1, $2)">>;
    
    foreach callOp = [TF_PartitionedCallOp, TF_StatefulPartitionedCallOp] in {
      def : Pat<(callOp:$op $args, FlatSymbolRefAttr:$f,
                 $config, $config_proto, $executor_type),
                (CallOp $f, $args),
              [(ArgTypesMatchCallee $op, $args, $f)]>;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc

    // to functions).
    bool IsAlreadyOutlined(WhileOp while_op) {
      auto just_call = [](Region& region) {
        auto it = region.front().begin();
        if (!isa<func::CallOp>(*it)) return false;
        ++it;
        if (!isa<YieldOp>(*it)) return false;
        return true;
      };
      return just_call(while_op.getBody()) && just_call(while_op.getCond());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

                                             while_region.getBody()));
        } else if (auto case_op = dyn_cast<CaseOp>(op)) {
          llvm::SmallVector<func::FuncOp, 4> functions;
          case_op.get_branch_functions(functions);
          AnalyzeFunctionalCaseOrIfOp(case_op, functions, backtrack_analysis);
        } else if (auto if_op = dyn_cast<IfOp>(op)) {
          AnalyzeFunctionalCaseOrIfOp(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/tf-gradient-attr.mlir

      // CHECK:          name: "foo"
      // CHECK:        }
        %1:2 = tf_executor.island wraps "tf.PartitionedCall"(%0) {Tin = [], Tout = [], config = "", config_proto = "", device = "", executor_type = "", f = @foo, name = "Call_foo"} : (tensor<f32>) -> tensor<*xf32>
        tf_executor.fetch
      }
      func.return
    }
    
    // CHECK:      library {
    // CHECK-NEXT:   function {
    // CHECK-NEXT:     signature {
    // CHECK-NEXT:       name: "foo"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 17 18:52:47 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/function-order.mlir

        // CHECK:     name: "foo"
        // CHECK:   }
        // CHECK: }
        %0 = tf_executor.island wraps "tf.PartitionedCall"() {Tin = [], Tout = [], config = "", config_proto = "", device = "", executor_type = "", f = @foo, name = "Call_foo"} : () -> ()
        tf_executor.fetch
      }
      func.return
    }
    
    // CHECK:      library {
    // CHECK:        function {
    // CHECK-NEXT:     signature {
    // CHECK-NEXT:       name: "bar"
    // CHECK-NEXT:     }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 17 18:52:47 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top