Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 831 for identity0 (0.17 sec)

  1. tensorflow/compiler/mlir/lite/quantization/tensorflow/tf_to_quant.cc

    //
    // input   min cst       max cst          input   min cst       max cst
    //  \       |             |                \       |             |
    //   \  (tf.Identity) (tf.Identity)   =>    \  (tf.Identity) (tf.Identity)
    //    \     |             |                  \     |             |
    //       tf.FakeQuantWithMinMaxVars       tf.FakeQuantWithMinMaxVars
    //                   |                                 |
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/build_xla_ops_pass_test.cc

      auto ctrl_dep =
          NodeWith(Op("Identity"), Inputs(Out(0, switch_on_compilation_pred)));
      // Check that we pipe int32 inputs through an IdentityN to avoid extra D2H
      // copies.
      EXPECT_THAT(
          stateful_partitioned_call_op,
          NodeWith(Inputs(Out(NodeWith(Op("IdentityN"), CtrlDeps(ctrl_dep))))));
    }
    #endif
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc

        call_op_returns.append(call_op.getResults().begin(),
                               call_op.getResults().end());
        SetFunctionPrivate(func_op);
      }
    
      // Creates Identity/IdentityN ops for returing values. This allows us to
      // restore the same output tensor names in python.
      int32_t output_count = 0;
      // Map from node name to the list of the OutputInfos of its outputs that are
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        ```mlir
        func @my_fn(%arg0: tensor<i32>, %arg1: tensor<i32>) -> (tensor<i32>, tensor<i32>) {
          %identity = "tf.Identity"(%arg0) : (tensor<i32>) -> tensor<i32>
          %identity_n:2 = "tf.IdentityN"(%arg1, %identity) : (tensor<i32>, tensor<i32>) -> (tensor<i32>, tensor<i32>)
          return %identity, %identity_n#0 : tensor<i32>, tensor<i32>
        }
        ```
      }];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/utils/fake_quant_utils.h

    // convert the output type to the next op. Here are the transformations:
    //
    // input   min cst       max cst              input
    //  \       |             |                     |
    //   \  (tf.Identity) (tf.Identity)   =>   quant.qcast
    //    \     |             |                     |
    //       tf.FakeQuantWithMinMaxVars        quant.dcast
    //                   |                          |
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc

                            visited_wrapped_ops, /*incoming=*/false)) {
        return failure();
      }
      return success();
    }
    
    // Whenever we find an Identity op that is unqualified, we remove this Identity
    // op from the list `tpu_ops`. An unqualified Identity op indicates either its
    // inputs or its outputs do not belong to the same cluster.
    bool ExcludeIdentityOp(llvm::SmallDenseSet<Operation*>& tpu_ops,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

          return std::make_tuple(t, identity_ops);
        } else if (auto identity =
                       llvm::dyn_cast_or_null<mlir::TF::IdentityOp>(user)) {
          identity_ops.emplace_back(identity);
          result = identity->getResult(0);
        } else {
          result = OpResult();  // reset to stop iterating
        }
      } while (result);
    
      return std::make_tuple(T(), identity_ops);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/scripts/BuildScriptCompilationAndInstrumentation.java

        @Override
        public Identity identify(Map<String, ValueSnapshot> identityInputs, Map<String, CurrentFileCollectionFingerprint> identityFileInputs) {
            Hasher hasher = Hashing.newHasher();
            identityInputs.values().forEach(value -> requireNonNull(value).appendToHasher(hasher));
            String identity = hasher.hash().toString();
            return () -> identity;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 10:23:24 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tpu_host_computation_expansion.cc

    bool IsTrivialUnaryOperation(Operation* op) {
      return llvm::isa<TF::CastOp, TF::IdentityOp>(op);
    }
    
    // Adds outside compilation attributes to unary ops such as Identity/Cast ops
    // at the head of TPU computation that is used only by other outside compiled
    // ops. Identity ops and Cast ops is commonly added to the start of TPU
    // computation. Adding/expanding outside compilation attributes to these ops
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/StepSpec.groovy

        final delegate = Mock(DeferredExecutionAwareStep)
        final work = Stub(UnitOfWork)
    
        def setup() {
            _ * work.displayName >> displayName
            _ * work.identify(_, _) >> identity
        }
    
        protected void assertNoOperation() {
            assert buildOperationRunner.log.records.empty
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top